package org.cbyyx.tc.enums;

import lombok.Getter;

@Getter
public enum OrderStatus {
    PENDING(0, "已下单"),
    PAID(1, "已支付"),
    SHIPPED(2, "已发货"),
    DELIVERED(3, "已送达"),
    CANCELLED(4, "已取消"),
    REFUNDED(5, "已退款"),
    Completed(6, "已完成");

    private final int code;
    private final String description;

    OrderStatus(int code, String description) {
        this.code = code;
        this.description = description;
    }
}
